package com.wf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 
 * @TableName booking_setting
 */
@TableName(value = "booking_setting")
@Data
public class BookingSetting implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer settingId;

    /**
     * 约预日期
     */
    private LocalDate bookingTime;

    /**
     * 可预约人数
     */
    private Integer number;

    /**
     * 已预约人数
     */
    private Integer reservations;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}